import sympy

x = sympy.Symbol('x')
alpha = 2
beta = 3
f = x
g = x ** 2
a = 0
b = 1

integral_alpha_f = alpha * sympy.integrate(f, (x, a, b))
integral_beta_g = beta * sympy.integrate(g, (x, a, b))
integral_alpha_f_plus_beta_g = sympy.integrate(alpha * f + beta * g, (x, a, b))

print(f"α∫f(x)dx = {integral_alpha_f}")
print(f"β∫g(x)dx = {integral_beta_g}")
print(f"∫(αf(x)+βg(x))dx = {integral_alpha_f_plus_beta_g}")